package com.pro.springbootpro.mapper;

import com.pro.springbootpro.entity.SysRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author DJR (1210843430@qq.com)
 */
@Mapper
public interface SysRoleMapper {
    /**
     * 根据用户id查询用户角色
     * @param userId
     * @return
     */
    List<SysRole> findRoleByUserId(String userId);
}
